"""
@author: wtf
@file: MyFilter.py
@time: 2024/5/12 21:14
@desc: 自定义模版过滤器
"""
from flask import render_template
from datetime import datetime

# 日期格式化
def datatime_format(value):
    return datetime.strftime(value, "%Y年%m月%d日 %H:%M:%S")
